package com.guoguo.utils.aliOss.operation;

import com.guoguo.enums.AliOssImageEnum;
import com.guoguo.utils.aliOss.AbstractAliOssImage;
import com.guoguo.utils.aliOss.AliOssImageConfig;

/**
 * Created by Administrator on 2017/10/11 0011.
 */

     /*
                           _ooOoo_
                          o8888888o
                          88" . "88
                          (| -_- |)
                          O\  =  /O
                       ____/`---'\____
                     .'  \\|     |//  `.
                    /  \\|||  :  |||//  \
                   /  _||||| -:- |||||-  \
                   |   | \\\  -  /// |   |
                   | \_|  ''\---/''  |   |
                   \  .-\__  `-`  ___/-. /
                 ___`. .'  /--.--\  `. . __
              ."" '<  `.___\_<|>_/___.'  >'"".
             | | :  `- \`.;`\ _ /`;.`/ - ` : | |
             \  \ `-.   \_ __\ /__ _/   .-` /  /
        ======`-.____`-.___\_____/___.-`____.-'======
                           `=---='
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                 佛祖保佑       永无BUG
        */
public class AliOssImageStyle extends AbstractAliOssImage {
    /**
     * 图片样式
     *
     * @param aliOssImageConfig
     * @return
     */
    public String operatingString(AliOssImageConfig aliOssImageConfig) {
        StringBuffer sb = new StringBuffer();
        sb.append(AliOssImageEnum.ALI_HANDLE_SYTLE.getValue());
        sb.append("/").append(aliOssImageConfig.getStyleName());
        return sb.toString();
    }

}
